package guava;

import java.io.Serializable;

/**
 * @author xukai
 * @desc
 * @date 2016-12-05-下午 4:18
 */
public class Customer<T> implements Serializable {
    private String name;
    private int age;
    private T data;
    public Customer(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public String toString() {
        return "name=" + name + ", age=" + age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
